/**
 * 文件描述:  基础设置路由文件
 * 作者: 苏宇浩
 * 时间: 2021/12/07
 */
import Layout from "@/layout";
const routes = [
    {
        path: "/settingBasic",
        name: "settingBasic",
        meta: {
            title: "基础设置",
            navShow: true,
            metaName: 'settingBasic',
        },
        component: Layout,
        redirect: '/settingBasic/platformNumSetting',
        children: [
            {
                path: "platformNumSetting",
                name: "platformNumSetting",
                meta: {
                    title: "平台系数设置",
                    navShow: true,
                    metaName: 'platformNumSetting'
                },
                component: () => import("@/views/settingBasic/platformNumSetting"),
            },
            {
                path: "categoryNumSetting",
                name: "categoryNumSetting",
                meta: {
                    title: "品类系数设置",
                    navShow: true,
                    metaName: 'categoryNumSetting'
                },
                component: () => import("@/views/settingBasic/categoryNumSetting"),
            },
            {
                path: "emergencyDegreeSetting",
                name: "emergencyDegreeSetting",
                meta: {
                    title: "紧急度设置",
                    navShow: true,
                    metaName: 'emergencyDegreeSetting'
                },
                component: () => import("@/views/settingBasic/emergencyDegreeSetting"),
            },
            {
                path: "danSetting",
                name: "danSetting",
                meta: {
                    title: "段位设置",
                    navShow: true,
                    metaName: 'danSetting'
                },
                component: () => import("@/views/settingBasic/danSetting"),
            },
            {
                path: "issueSetting",
                name: "issueSetting",
                meta: {
                    title: "问题设置",
                    navShow: true,
                    metaName: 'issueSetting'
                },
                component: () => import("@/views/settingBasic/issueSetting"),
            },
            {
                path: "userFeedback",
                name: "userFeedback",
                meta: {
                    title: "用户反馈",
                    navShow: true,
                    metaName: 'userFeedback'
                },
                component: () => import("@/views/settingBasic/userFeedback"),
            }
        ]
    },
]
export default routes;
